package com.xiaolin.ssosystem.service;

import com.xiaolin.ssosystem.model.dto.UserDto;
import com.xiaolin.ssosystem.utils.OptResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author xiaolin
 * @description 描述
 * @since 2024/10/8
 */
public interface AuthService {
    OptResult login(UserDto userDto, HttpServletResponse response);

    OptResult info(HttpServletRequest request);

    OptResult logout(HttpServletRequest request);
}
